public class Test2 extends Pet{
    public static void main(String[] args) {
        Master master = new Master();

        master.feed(new Cat());
        master.feed(new Dog());
        master.play(new Dog());
        master.play(new Cat());


    }


}
